package net.hn.hnms.biz.plan.domain;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.math.BigDecimal;

@Data
@NoArgsConstructor
@ExcelIgnoreUnannotated
@EqualsAndHashCode(callSuper = false)
@Table(name = "yield_production")
public class YieldProduction {
    @TableId(type = IdType.ASSIGN_UUID)
    private String productionId;

    private String name;
    private String type;
    private BigDecimal yearQuantity;
    private BigDecimal monthQuantity;
    private BigDecimal prvQuantity;
    private BigDecimal todayQuantity;

    private BigDecimal yearPlan;

    private BigDecimal monthPlan;


    private BigDecimal yearQuantitySum;
    private BigDecimal monthQuantitySum;
    private BigDecimal prvQuantitySum;
    private BigDecimal todayQuantitySum;
    private BigDecimal monthPlanSum;
    private BigDecimal dayAvg;
    private String dataDate;
    private String mineCode;
    private String companyCode;


    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private String yoy;



}
